<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category   design_default
 * @package    Mage
 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */
?>

<div class="page-head">
    <h3><?php echo Mage::helper('contacts')->__('Trade Enquires') ?></h3>
</div>
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>

<div class="padder">
	<form action="<?php echo $this->getFormAction(); ?>" id="contactForm" method="post">
		<div class="head-alt2">
		    <h4 class="title"><?php echo $this->__('Contact Information') ?></h4>
		</div>
		<div>
		<p class="required"><?php echo $this->__('* Required Fields') ?></p>
		</div>
	    <fieldset class="group-select">
		<ul>
		<li>
			<div class="input-box">
			    <label for="name"><?php echo Mage::helper('contacts')->__('Your Name') ?> <span class="required">*</span></label><br />
			    <input name="name" id="name" title="<?php echo $this->__('Your Name') ?>" value="<?php echo $this->htmlEscape($this->helper('contacts')->getUserName()) ?>" class="required-entry input-text" type="text"/>
			</div>

			<div class="input-box">
			    <label for="companyname"><?php echo Mage::helper('contacts')->__('Company Name') ?> <span class="required">*</span></label><br />
			    <input name="companyname" id="companyname" title="<?php echo $this->__('Company Name') ?>" value="" class="required-entry input-text" type="text"/>
			</div>
			
			<div class="input-box">
			    <label for="addressfull"><?php echo $this->__('Address inc postcode') ?> <span class="required">*</span></label><br />
			    <textarea name="addressfull" id="addressfull" title="<?php echo $this->__('Address inc postcode') ?>" class="required-entry" style="height:150px;width:325px;" cols="50" rows="5"></textarea>
			</div>
			
			<div class="input-box">
			    <label for="telephone"><?php echo Mage::helper('contacts')->__('Telephone Number') ?> <span class="required">*</span></label><br />
			    <input name="telephone" id="telephone" title="<?php echo $this->__('Telephone Number') ?>" value="" class="required-entry input-text" type="text"/>
			</div>
			
			<div class="input-box">
			    <label for="mobile"><?php echo Mage::helper('contacts')->__('Mobile') ?></label><br />
			    <input name="mobile" id="mobile" title="<?php echo $this->__('Mobile') ?>" value="" class="input-text" type="text"/>
			</div>
			
			<div class="input-box">
			    <label for="email"><?php echo Mage::helper('contacts')->__('Email Address') ?> <span class="required">*</span></label><br />
			    <input name="email" id="email" title="<?php echo $this->__('Email Address') ?>" value="<?php echo $this->htmlEscape($this->helper('contacts')->getUserEmail()) ?>" class="required-entry input-text validate-email" type="text"/>
			</div>
				
			<div class="clear"></div>
	    </li>

	    <li>
	    	<div class="input-box">
			    <label for="interested"><?php echo $this->__('Product(s) interested in') ?> <span class="required">*</span></label><br />
			    <textarea name="interested" id="interested" title="<?php echo $this->__('Product(s) interested in') ?>" class="required-entry" style="height:150px;width:325px;" cols="50" rows="5"></textarea>
			</div>
			
			<div class="input-box">
			    <label for="intendtosell"><?php echo $this->__('Where and when you intend to sell these products') ?> <span class="required">*</span></label><br />
			    <textarea name="intendtosell" id="intendtosell" title="<?php echo $this->__('Where and when you intend to sell these products') ?>" class="required-entry" style="height:150px;width:325px;" cols="50" rows="5"></textarea>
			</div>
			
			<div class="input-box">
			    <label for="quantity"><?php echo Mage::helper('contacts')->__('Quantity Required') ?> <span class="required">*</span></label><br />
			    <input name="quantity" id="quantity" title="<?php echo $this->__('Quantity Required') ?>" value="" class="required-entry input-text" type="text"/>
			</div>
			
			<div class="input-box">
			    <label for="comment"><?php echo $this->__('Other information') ?></label><br />
			    <textarea name="comment" id="comment" title="<?php echo $this->__('Other information') ?>" style="height:150px;width:325px;" cols="50" rows="5"></textarea>
			</div>
			
		</li>
		</ul>
	    </fieldset>
	    <div class="button-set">
	    <input type="hidden" name="contactType" value="Trade"/>
		<input type="image" src="<?php echo $this->getSkinUrl('images/btn_submit.gif');?>" alt="<?php echo $this->__('Submit') ?>"/>
	    </div>
	</form>
	<script type="text/javascript">
	    var contactForm = new VarienForm('contactForm', true);
	</script>
</div>